package com.wenlin.myproduction.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import com.wenlin.myproduction.R;
import com.wenlin.myproduction.base.BaseSwipeActivity;
import com.wenlin.myproduction.util.ValCommon;

/**
 * 时间控件页
 */
public class TimeViewActivity extends BaseSwipeActivity {

    /**
     * 打开时间控件页
     * @param activity 上下文
     */
    public static void start(Activity activity){
        Intent intent = new Intent(activity, TimeViewActivity.class);
        activity.startActivity(intent);
    }

    @Override
    public int getContentView() {
        return R.layout.activity_time_view;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setTitle(ValCommon.TIME_VIEW);
    }
}
